package com.snail.readyvr.di.component;

import android.content.Context;

import com.snail.readyvr.di.module.ApplicationModule;
import com.snail.readyvr.mvp.model.DaoSession;
import com.snail.readyvr.rest.LoginRestClient;
import com.snail.readyvr.rest.RestClient;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by MRKING on 2016/10/10.
 */

@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {
    Context getContext();
    RestClient getRestClient();
    LoginRestClient getLoginRestClient();
    DaoSession getDaoSession();

}
